@import "../variables";

.category-panel {
    width: 160px;
    float: left;
    position: relative;
    height: 418px;
}

.category-panel .cat-list {
    background-color: #f8f8f8;
    display: block;
    height: 418px;
}

.category-panel .cat-list li {
    font-size: 14px;
}

.category-panel .cat-list li a {
    display: block;
    padding: 0 8px 0 30px;
    background-image: url("#{$image-path}/cugeng/dian.png");
    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: 8px 8px;
    color: #333;
    height: 38px;
    line-height: 38px;
}

.category-panel .cat-list li a:hover,
.category-panel .cat-list li.cur a {
    color: #fff;
    background-color: #41CC24;
}

.category-panel .cat-list li a span {
    background-image: url("#{$image-path}/cugeng/arrow-r.png");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 16px 16px;
    display: block;
    height: 33px;
    padding-right: 20px;
    overflow: hidden;
}

.category-panel .childs-panel {
    position: absolute;
    width: 780px;
    height: 418px;
    background-color: #fff;
    border: 1px #DDD solid;
    border-left: none;
    left: 100%;
    top: 0;
    z-index: 300;
    display: none;
}

.category-panel .childs-panel .cat-group {
    padding: 20px;
    display: none;
}

.category-panel .childs-panel .cat-group h3 {
    font-size: 13px;
    padding-bottom: 7px;
    border-bottom: 1px #e5e5e5 solid;
}

.category-panel .childs-panel .cat-group h3 .more {
    float: right;
    font-size: 12px;
    font-weight: normal;
}

.category-panel .childs-panel .cat-group ul {
    display: block;
    padding-top: 10px;
}

.category-panel .childs-panel .cat-group ul li {
    float: left;
    margin: 0 10px 7px 0;
    font-size: 12px;
}

.category-panel .childs-panel .cat-group ul li a:hover {
    text-decoration: underline;
}

.home-main {
    margin-left: 160px;
    position: relative;
    overflow: hidden;
}

.home-main #swiper-div {
    width: 780px;
    height: 418px;
}

.home-main .news {
    position: absolute;
    width: 240px;
    height: 418px;
    right: 0;
    top: 0;
    background-color: #f8f8f8;
    overflow: hidden;
}

.home-main .news .content {
    background-color: #fff;
}

.home-main .news .content h3 {
    font-size: 18px;
    padding: 15px 0 5px 0;
    color: #1EC561;
    text-align: center;
}

.home-main .news .content ul {
    display: block;
    padding: 5px 15px;
}

.home-main .news .content ul li {
    height: 26px;
    line-height: 26px;
    overflow: hidden;
    display: block;
    font-size: 12px;
}

.home-main .news .content ul li a:hover {
    color: #1EC561;
}

.home-main .news .ad {
    display: block;
    height: 290px;
    margin-top: 5px;
    background-image: url("#{$image-path}/cugeng/sy_72182084777.jpg");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
}

.duanwu-bg {
    background-image: url("#{$image-path}/cugeng/duanwu-bg2.jpg");
    background-size: 100% 100%;
}

.color-wapper {
    display: block;
    padding-top: 20px;
    padding-bottom: 30px;
    background-color: #F2F2F2;
}

.color-wapper h1.title {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 10px;
    clear: both;
}

.color-wapper .bigtitle {
    background-image: url("#{$image-path}/cugeng/fresh_mod_head_bg.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: auto 30px;
    text-align: center;
    padding: 10px 0;
    color: #333;
    font-size: 24px;
    margin-bottom: 10px;
}

.color-wapper .bigtitle strong {
    padding: 10px 20px;
    font-size: 22px;
}

.color-wapper .quangou {
    background-color: #fff;
    border-radius: 5px;
    display: block;
    overflow: hidden;
}

.color-wapper .quangou li {
    width: 16.66%;
    height: 300px;
    float: left;
    border-right: 1px #DDD solid;
    display: block;
}

.color-wapper .quangou li.last {
    background-image: url("#{$image-path}/cugeng/qiangou.png");
    background-size: 100% 100%;
    border-right: none;
    display: block;
    float: right;
}

.color-wapper .quangou li .image {
    display: block;
    margin: 20px;
}

.color-wapper .quangou li .image .bg {
    display: block;
    padding-top: 100%;
}

.color-wapper .quangou li .title {
    font-size: 14px;
    line-height: 1.2;
    color: #333;
    padding: 10px;
}

.color-wapper .quangou li .data {
    display: block;
    padding: 10px;
}

.color-wapper .quangou li .price {
    font-size: 18px;
    color: #ff4400;
    width: 55%;
    float: left;
}

.color-wapper .quangou li .sold {
    font-size: 12px;
    color: #666;
    overflow: hidden;
    padding-top: 5px;
}

.youxuan {
    background-color: #fff;
    border-radius: 5px;
    padding: 10px 0;
}

.youxuan li {
    width: 20%;
    float: left;
    overflow: hidden;
    margin: 10px 0;
}

.youxuan li .bd {
    display: block;
    margin: 0 20px;
}

.youxuan li .pic {
    display: block;
    padding-top: 100%;
    position: relative;
}

.youxuan li .pic img {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
}

.youxuan li .pic a {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.youxuan li .name {
    height: 38px;
    margin-top: 5px;
    line-height: 1.2;
    overflow: hidden;
    font-size: 14px;
}

.youxuan li .price {
    display: block;
    text-align: center;
}

.youxuan li .price .shop-price {
    font-size: 15px;
    color: #FF0000;
    margin-right: 20px;
}

.youxuan li .price .market-price {
    font-size: 12px;
    color: #888;
    float: right;
    padding-top: 3px;
}

.youxuan li .buynow {
    display: block;
    padding: 10px 0 0;
}

.youxuan li .buynow .btn {
    background-color: #f40;
    color: #fff;
    display: block;
    margin: 0 auto;
    width: 60%;
    text-align: center;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
}

.item-group-list {
    display: block;
    background-color: #fff;
}

.item-group-list ul {

}

.item-group-list ul li {
    width: 16.66%;
    float: left;
}

.item-group-list ul li .content {
    padding: 20px;
    display: block;
}

.item-group-list ul li .imgbox {
    display: block;
    height: 166px;
    position: relative;
    padding-top: 5px;
}

.item-group-list ul li .imgbox:hover {
    padding-top: 0;
}

.item-group-list ul li .image {
    height: 156px;
}

.item-group-list ul li .title {
    font-size: 14px;
    line-height: 1.2;
    height: 40px;
    overflow: hidden;
    margin-top: 10px;
}

.item-group-list ul li .price {
    font-size: 18px;
    font-weight: 500;
    color: #f40;
}

.item-catlog-div {
    display: flex;
    height: 300px;
}

.item-catlog-div .catlogs {
    width: 200px;
    height: 300px;
    float: left;
    color: #fff;
}

.item-catlog-div .catlogs .content {
    display: block;
    padding: 20px;
}

.item-catlog-div .catlogs .title {
    font-size: 26px;
}

.item-catlog-div .catlogs .subtitle {
    font-size: 15px;
    font-weight: 500;
    border-bottom: 3px #fff solid;
    padding-bottom: 5px;
}

.item-catlog-div .catlogs .cats {
    display: block;
    margin: 10px -10px 10px 0;
}

.item-catlog-div .catlogs .cats a {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 15px;
    border: 1px #fff solid;
    font-size: 13px;
    color: #fff;
    margin: 7px 10px 7px 0;
}

.item-catlog-div .catlogs .more-btn {
    display: block;
    margin-top: 15px;
    padding: 3px 0;
    font-size: 16px;
    font-weight: 600;
    background-color: #ECF2F9;
    color: #1EC462;
    border-radius: 10px;
    text-align: center;
    clear: both;
}

.item-catlog-div .catlogs .more-btn a {
    display: block;
    color: #1EC462;
}

.item-catlog-div .catlog-img1 {
    height: 300px;
    flex: 1;
    overflow: hidden;
}

.item-catlog-div .catlog-img2 {
    float: right;
    width: 350px;
    height: 300px;
    background-position: left top;
}

.fresh-catlog {
    background-image: url("#{$image-path}/cugeng/fresh-bgimg-1.png");
}

.fresh-catlog-img1 {
    background-image: url("#{$image-path}/cugeng/fresh-bgimg-2.jpg");
}

.fresh-catlog-img2 {
    background-image: url("#{$image-path}/cugeng/fresh-bgimg-3.png");
}

.vegetables-catlog-img2 {
    background-image: url("#{$image-path}/cugeng/vegetables-bgimg-2.jpg");
}

.vegetables-catlog-img3 {
    background-image: url("#{$image-path}/cugeng/vegetables-bgimg-3.jpg");
}


.fushi-catlog {
    background-image: url("#{$image-path}/cugeng/fushi-bgimg-1.png");
}

.fushi-catlog-img1 {
    background-image: url("#{$image-path}/cugeng/fushi-bgimg-2.jpg");
}

.fushi-catlog-img2 {
    background-image: url("#{$image-path}/cugeng/fushi-bgimg-3.png");
}
